| SyVersionColumnChanges |
| Logical Entity Name | SyVersionColumnChanges |
| Default Table Name | SyVersionColumnChanges |
| Physical Only | NO |
| Definition | |
| Note |
| SyVersionColumnChanges Columns |
| ColumnName | Domain | Datatype | NULL | Definition |
TableName |
char(10) | NO | ||
Version |
varchar(10) | NO | ||
ColumnName |
char(10) | NO | ||
| Type | varchar(10) | NO | ||
| NewDataType | char(10) | YES | ||
| OldDataType | char(10) | YES | ||
| NewPrec | smallint | YES | ||
| OldPrec | smallint | YES | ||
| NewScale | int | YES | ||
| OldScale | int | YES | ||
| NewNullability | varchar(3) | YES | ||
| OldNullability | varchar(3) | YES | ||
| ts | timestamp | NO |
| SyVersionColumnChanges Primary and Unique Keys |
| Key Name | Key Type | Keys |
| SyVersionColumnChanges_SyVersionTableChangesID_ColumnName_Version_U_C_IDX | PrimaryKey | TableName, Version, ColumnName |
| SyVersionColumnChanges Foreign Keys |
| Parent Relationships: |
| Table Name | Type | Cardinality | Constraint Name | VerbPhrase | InversePhrase | Foreign Keys | Is Supertype | Not For Replication |
| SyVersionTableChanges | Identifying | One To Zero or More | FK_SyVersionColumnChanges_TableNameVersion_SyVersionTableChanges_TableNameVersion | TableName, Version | NO | YES |
| Child Relationships: |
| Table Name | Type | Cardinality | Constraint Name | VerbPhrase | InversePhrase | Foreign Keys | Is Subtype | Not For Replication |
| SyVersionColumnChanges Check Constraints |
| Check Constraint Name | CheckConstraint |
| Chk_SyVersionColumnChanges_Type_NewDataType_OldDataType_NewPrec_OldPrec_NewScale_OldScale_NewNullability_OldNullability | ([Type] = 'New' and [NewDataType] is not null and [OldDataType] is null and [NewPrec] is not null and [OldPrec] is null and [NewScale] is not null and [OldScale] is null and [NewNullability] is not null and [OldNullability] is null or [Type] = 'Alter' and [NewDataType] is not null and [OldDataType] is not null and [NewPrec] is not null and [OldPrec] is not null and [NewScale] is not null and [OldScale] is not null and [NewNullability] is not null and [OldNullability] is not null or [Type] = 'Deleted' and [NewDataType] is null and [OldDataType] is not null and [NewPrec] is null and [OldPrec] is not null and [NewScale] is null and [OldScale] is not null and [NewNullability] is null and [OldNullability] is not null) |